package org.yzh.web.mp.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @description: AlarmSimpleAlarm基础类
 * @author: nick
 * @date: 2024-06-19
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class AlarmSimpleAlarmBase implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    private Long id;
    //车辆id
    private String vehicleId;
    //报警/事件类型
    private Integer eventType;
    //报警级别
    private Integer alarmLevel;
    //报警Id(oss拿附件)
    private String alarmId;
    // 附件数
    private Integer attachments;
    //上传是否成功
    private Boolean isDone;
    //经度
    private Double longitude;
    //纬度
    private Double latitude;
    //时间
    private Long time;
    //时间convert
    private LocalDateTime timeConvert;
    //备注
    private String note;
    //排序
    private Integer sort;
    //是否删除
    private Boolean isDel;
    //删除时间
    private LocalDateTime delTime;
    //新增时间
    private LocalDateTime addTime;
    //更新时间
    private LocalDateTime modifyTime;
    //系统备注
    private String sysRemark;

}
